# 基础镜像
FROM mysql:5.7.31
# 编写作者信息和日期亚洲上海
MAINTAINER mysql from date UTC By Asia/Shanghai "zlg@lagou.com"
# 修改时区东八区
ENV TZ Asia/Shanghai
# 将脚本复制到指定目录下,mysql容器初始化后自动导入数据库
COPY docker-entrypoint-initdb.d/edu_ad.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_authority.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_comment.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_course.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_message.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_oauth.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_order.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_pay.sql /docker-entrypoint-initdb.d
COPY docker-entrypoint-initdb.d/edu_user.sql /docker-entrypoint-initdb.d